Release 10.1A: OpenEdge Getting Started:
Installation and Configuration
Environment variables of the SQL client
OpenEdge contains the environment variables
SQL_CLIENT_CHARSETandSQL_CLIENT_CHARSET_PROMSGSfor SQL clients. You can use these variables to internationalize your applications. These environment variables determine the code page the client uses to display the following:
- Database data from the server.
Notes: You should setPROMSGSfrom the server.SQL_CLIENT_CHARSETonly if you want clients to use a code page that is different from the code page the client operating system uses.
You should setSQL_CLIENT_CHARSET_PROMSGSonly if you want run-time messages to use a code page that is different from either the code page the client operating system uses, or the code page set bySQL_CLIENT_CHARSET.If you do not set either of these environment variables, then the SQL client code page will correspond to the language of the client operating system.
Code page client uses to display data
To display database data from the server, the client uses the code page set by
SQL_CLIENT_CHARSET, if you have set this environment variable on the client machine. Otherwise, the client uses the code page of the client’s operating system.If you want to specify an SQL client code page that is different from the client operating system, you can set the
SQL_CLIENT_CHARSETenvironment variable to the name of a Progress code page. When you set this variable to a code page, the SQL server converts text data that is sent from the server to the client to the code page set bySQL_CLIENT_CHARSET. The server also uses this code page when it converts text data that is sent from the client to the server to the server code page.Code page client uses to display PROMSGS from the server
To display
PROMSGSfrom the server, the client uses the code page set bySQL_CLIENT_CHARSET_PROMSGS, if you have set this environment variable. Otherwise, the client uses the code page set bySQL_CLIENT_CHARSET, if you have set this environment variable. If you have set neither of these environment variables, then the client uses the code page of the client’s operating system.If you want run-time messages at the SQL client to use a different code page from either the client operating system or the code page set by
Note: TheSQL_CLIENT_CHARSET, you can set theSQL_CLIENT_CHARSET_PROMSGSenvironment variable. When you set this variable to a code page, the SQL server converts run-time messages that are sent from the server to the client to the code page set bySQL_CLIENT_CHARSET_PROMSGS.SQL_CLIENT_CHARSET_PROMSGSenvironment variable applies to SQLDUMP and SQLLOAD, which are actually SQL applications.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |